package com.register.service;

import com.register.dao.ForusDao;
import com.register.pojo.Forus;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service("forusService")
public class ForusService {
    @Autowired
    private ForusDao forusDao;

    public List<Forus> getus(){
        return forusDao.getus();
    }
    public Forus selectById(int id){

        return forusDao.selectById(id);
    }
}
